package com.yitong.profile.domain;

import java.math.BigDecimal;
import java.util.Date;

public class User {
	
    private Long id;
    private String username;
    private String password;
    private String salt;
    private Integer locked;
    private String userType;
    private BigDecimal advanceLimit;
    private String mobile;
    private String realname;
    private Integer gender;
    private String thirdlogin;
    private Date createTime;
    private String source;
    private String companyCode;
    private String courierCode;
    private Integer inviteResult;
    private Long userPoints;
    private String kdtInviteCode;
    private String email;
    private BigDecimal user_balance;
    private Integer version;
    private String content;

    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt == null ? null : salt.trim();
    }

    public Integer getLocked() {
        return locked;
    }

    public void setLocked(Integer locked) {
        this.locked = locked;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType == null ? null : userType.trim();
    }

    public BigDecimal getAdvanceLimit() {
        return advanceLimit;
    }

    public void setAdvanceLimit(BigDecimal advanceLimit) {
        this.advanceLimit = advanceLimit;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname == null ? null : realname.trim();
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getThirdlogin() {
        return thirdlogin;
    }

    public void setThirdlogin(String thirdlogin) {
        this.thirdlogin = thirdlogin == null ? null : thirdlogin.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode == null ? null : companyCode.trim();
    }

    public String getCourierCode() {
        return courierCode;
    }

    public void setCourierCode(String courierCode) {
        this.courierCode = courierCode == null ? null : courierCode.trim();
    }

    public Integer getInviteResult() {
        return inviteResult;
    }

    public void setInviteResult(Integer inviteResult) {
        this.inviteResult = inviteResult;
    }

    public Long getUserPoints() {
        return userPoints;
    }

    public void setUserPoints(Long userPoints) {
        this.userPoints = userPoints;
    }

    public String getKdtInviteCode() {
        return kdtInviteCode;
    }

    public void setKdtInviteCode(String kdtInviteCode) {
        this.kdtInviteCode = kdtInviteCode == null ? null : kdtInviteCode.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public BigDecimal getUser_balance() {
        return user_balance;
    }

    public void setUser_balance(BigDecimal user_balance) {
        this.user_balance = user_balance;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}